package com.qk.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OSSObjectVersionDto {
    private String keyName;
    private String versionId;

    public static OSSObjectVersionDto of(String keyName, String versionId) {
        return OSSObjectVersionDto.builder().keyName(keyName).versionId(versionId).build();
    }

}